const common = require('./common');

const url = {
  getHourList: "/labor/zgb/laborHourRecord/getList", //获取工时列表
  addHour: "/labor/zgb/laborHourRecord/add", //添加工时记录
  deleteHour: "/labor/zgb/laborHourRecord/delete", //删除工时记录
}

const getHourList = (data) => {
  return common.req(url.getHourList, data);
}
const addHour = (data) => {
  return common.req(url.addHour, data);
}



export default {
  getHourList,
  addHour
}